package com.bye;

import android.app.Activity;
import android.os.Bundle;
import android.widget.*;


public class HiActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        RadioButton btn = new RadioButton(this);
        TextView text = new TextView(this);
        CheckBox box = new CheckBox(this);
        AnalogClock clock = new AnalogClock(this);
        DigitalClock clock2 = new DigitalClock(this);
        
        box.setText("Slightly Less Awesome");
        btn.setText("Awesome");
        text.setText("whatever");
        
        LinearLayout lo = (LinearLayout) findViewById(R.id.cool);
        lo.addView(text);
        lo.addView(btn);
        lo.addView(box);
        lo.addView(clock);
        lo.addView(clock2);
    }
}